package com.fenxiangle.yueding.feature.extension.contract;

import com.fenxiangle.yueding.entity.bo.AliPayBo;
import com.fenxiangle.yueding.entity.bo.ExtensionBo;
import com.fenxiangle.yueding.entity.bo.LoginPram;
import com.suozhang.framework.entity.bo.UserInfoBo;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;

import org.json.JSONObject;

import io.reactivex.Observable;

public interface ExtensionContract {

    interface Model {
        Observable<ExtensionBo> user_Extension_Center();

        Observable<AliPayBo> recharge_member(JSONObject jsonObject);

        Observable<AliPayBo> user_forward(JSONObject jsonObject);

        Observable<String> is_set_pwd();

        Observable<String> user_payment_set(JSONObject jsonObject);

    }

    interface View extends BaseView {
        void ShowData(ExtensionBo s);

        void showLoginSuccess();

        void showAliPayBo(AliPayBo aliPayBo);

        void showWeiChatData(AliPayBo aliPayBo);

        void showError(String error);

        void showPwd(String pwd);

        void user_payment_set();

    }


    interface Presenter extends BasePresenter {
        void user_Extension_Center();

        void recharge_member(JSONObject jsonObject);

        void user_forward(JSONObject jsonObject);

        void is_set_pwd();

        void user_payment_set(JSONObject jsonObject);

    }
}
